-- GENERATED SPELL FOR [Bristleback Battleboar] --


function spell0_2954(pUnit, Event) --@Boar Charge,Self--
pUnit:FullCastSpellOnTarget(3385,pUnit)
pUnit:RegisterEvent('Sorts_2954', 4000, 1)
end

function Sorts_2954(pUnit, Event)
local choix_sorts_2954 = math.random(0, 0)
if choix_sorts_2954 == 0 then
pUnit:RegisterEvent('spell0_2954', 1, 1)
end
end

function mob2954_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2954', math.random(1500, 3000), 1)
end

function mob2954_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2954_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2954_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2954, 1, 'mob2954_Action')
RegisterUnitEvent(2954, 2, 'mob2954_Leave')
RegisterUnitEvent(2954, 3, 'mob2954_Kill')
RegisterUnitEvent(2954, 4, 'mob2954_Die')
